package 工厂模式.抽象工厂模式;

public class Client {
    public static void main(String[] args) {
        Human white = new WhiteFactory().createHuman();
        white.color();
        white.language();

        Human yellow = new YellowFactory().createHuman();
        yellow.color();
        yellow.language();
    }
    //白种人是白色皮肤
    //白种人大部分人说英语
    //黄种人是黄色皮肤
    //黄种人大部分人说汉语
}
